<template>
  <div>
    <!-- 添加按钮 -->
    <el-button type="primary" @click="willAdd">添加</el-button>

    <!-- 列表 -->
    <v-list @edit="willEdit" ></v-list>

    <!-- 弹框 -->
    <v-form ref="form" :info="info" ></v-form>
    
  </div>
</template>
<script>
import vList from "./components/list.vue";
import vForm from "./components/form.vue";
import toggle from "../../mixins/toggle"
export default {
  mixins:[toggle],
  components: {
    vList,
    vForm,
  },
  mounted() {
     
  },
  data() {
    return {
     
    };
  },
  methods: {
   
  },
};
</script>
<style lang="less" scoped>
</style>